Experimental Results to the Paper “Parallel Processing for Business Artifacts with Declarative Lifecycles”

نویسنده

  • Yutian Sun
چکیده

This paper serves as an appendix to [4]. Two variants of the parallel algorithms are provided. Experiments upon sequential and parallel algorithms are conducted and analyzed. 1 Two Variants of the Parallel Algorithms This section introduces two variants of the parallel algorithms shown in Section 5 of [4], namely “event-based parallel algorithm” (which is the same as the one in Section 7 of [4]) and “node-based parallel algorithm”. These two algorithms all follow the idea in [4] but different in implementation level. In detail, these two algorithms have different ways to allocate threads for parallel execution. Event-based parallel algorithm For the event-based parallel algorithm, we propose a new role, called “event thread”, which will be created for every incoming event. The event thread is responsible for selecting the available nodes (similar to a scheduler) and for evaluating all the reachable nodes for its associated incoming event together with updating the corresponding snapshot (similar to an evaluation scheduler). In essence, the improved parallel algorithm “projects” a centralized scheduler down to each event thread so that the event thread can evaluate a node as soon as it is available, and it works as follows: 1. When an incoming event arrives, the system allocates an event thread for it. 2. The event thread first atomically labels all the reachable nodes for the current event with the sequence number assigned (similar to lines 9 11 of Alg. 1 in [4]). 3. Then the event thread traverses the reachable nodes for the current incoming event according to the topological order. 4. During the traversal, if the node to be visited satisfies the evaluation policy, then the event thread will evaluate the node and update the corresponding snapshot in the parallel evaluation matrix; otherwise, the thread will wait till the node becomes available. 5. When traversal finishes, the thread updates the blank attributes in the corresponding snapshot. ? This paper appears as [4] Node-based parallel algorithm Similar to the event-based parallel algorithm, the node-based parallel algorithm allocates several threads to evaluate the sentries in parallel. Instead of creating a thread for each incoming event, the node-based parallel algorithm creates a thread, called “node thread” for each node in the EPDG. The algorithm works as follows: 1. Once the EPDG is loaded into the memory, the system allocates a thread for each node. 2. Once an incoming event arrives, the system labels all the reachable nodes according to the topological order. 3. For each node thread, it evaluates the corresponding sentries if the smallest number in its will visit set satisfies the evaluation policy. 4. Each node thread will keep evaluating until the EPDG is unloaded or there is no more events labeled to its will visit set. One advantage of the node-based parallel algorithm is to realize the parallelism even within a B-step. When an event needs to traverse all its reachable nodes and there is a branch in its reachable subgraph, then the node threads of the two branches can work separately in parallel. The analysis of the node-based parallel algorithm is not straight-forward, thus it is evaluated in the next section by experiments.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Parallel Processing for Business Artifacts with Declarative Lifecycles

The business artifact (a.k.a. business entity) approach to modeling and implementing business operations and processes is based on a holistic marriage of data and process and enables a factoring of business operations based on key business-relevant conceptual entities. The recently introduced Guard-StageMilestone (GSM) artifact meta-model provides a hierarchical and declarative basis for specif...

متن کامل

A Data-Centric Design Methodology for Business Processes

This chapter describes a design methodology for business processes and workflows that focuses first on “business artifacts”, which represent key (real or conceptual) business entities, including both the business-relevant data about them and their macro-level lifecycles. Individual workflow services (a.k.a. tasks) are then incorporated, by specifying how they operate on the artifacts and fit in...

متن کامل

Introducing the Guard-Stage-Milestone Approach for Specifying Business Entity Lifecycles

Business process management, workflow, and case management are critical technologies for managing collections of services, including human activities, to support business operations. One way to manage business operations is based on business entities with lifecycles (BEL’s) (a.k.a. business artifacts), i.e., key conceptual entities that are central to guiding the operations of a business, and w...

متن کامل

On the Equivalence of Incremental and Fixpoint Semantics for Business Artifacts with Guard-Stage-Milestone Lifecycles

Business artifacts (BAs, or artifacts) are used to model conceptual entities that are central to guiding the operations of a business, and whose content changes as they move through those operations. The recently introduced Guard-Stage-Milestone (GSM) meta-model for artifact lifecycles is declarative in nature, and allows concurrent execution of long-running (possibly human-executed) activities...

متن کامل

On the Equivalence of Incremental and Fixpoint Semantics for Business Entities with Guard-Stage-Milestone Lifecycles

Business entities with lifecycles (BEL’s) (a.k.a. business artifacts) are used to model conceptual entities that are central to guiding the operations of a business, and whose content changes as they move through those operations. The recently introduced Guard-StageMilestone (GSM) meta-model for BEL lifecycles is declarative in nature, and allows concurrent execution of long-running (possibly h...

متن کامل

Barcelona: A Design and Runtime Environment for Declarative Artifact-Centric BPM

A promising approach to managing business operations is based on business artifacts, a.k.a. business entities (with lifecycles) [8, 6]. These are key conceptual entities that are central to guiding the operations of a business, and whose content changes as they move through those operations. A business artifact type is modeled using (a) an information model, which is intended to hold all busine...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013